//
//  MyTaskViewController.m
//  TeamInformatization
//
//  Created by bigger on 2019/4/2.
//  Copyright © 2019年 SPIC. All rights reserved.
//

#import "MyTaskViewController.h"

@interface MyTaskViewController ()<ChangeContentViewDelegate>

@end

@implementation MyTaskViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self showTitleBarWithTitle:@"我的任务" leftButtonStyle:Base_NavigationBar_Back rightButtonStyle:Base_NavigationBar_None];
    
    // UI
    [self loadShowViews];
}

- (void)loadShowViews
{
    ChangeContentView *changeContentView = [[ChangeContentView alloc] initWithFrame:CGRectMake(0, kSafeAreaTopHeight, kScreenWidth, 40 * kScaleWidth) TitleArray:@[@"待办", @"已办"]];
    changeContentView.delegate = self;
    [self.view addSubview:changeContentView];
}

#pragma mark - ChangeContentViewDelegate
- (void)getTouchNum:(int)touchNum withChangeContentView:(ChangeContentView *)changeContentView
{
    switch (touchNum) {
        case 0: {
            
            break;
        }
        case 1: {
            
            break;
        }
        default:
            break;
    }
}
#pragma -导航栏 两边按钮操作
-(void)baseNavigationBarLeftButtonClick:(UIButton *)button
{
    [self.navigationController popViewControllerAnimated:YES];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
